/*
 * Copyright (c) 2015 www.smarthome.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.base.dao;

import java.util.List;
import java.util.Map;

import com.smarthome.base.dao.base.BaseDao;
import com.smarthome.domain.bean.ShService;

/**
 * ShServiceDao 接口
 * @author KongXiangyu
 * @since 2015-09-07
 */
public interface ShServiceDao extends BaseDao<ShService,Long>{
	//自定义扩展
	/**
	 * 
	* @Title: queryServiceAndFeedbackCount 
	* @Description: TODO(根据条件获取物业服务数和物业服务反馈数) 
	* @param queryShService
	* @return
	* Map<String,Object>
	* @throws 
	* @author cyj
	 */
	Map<String,Object> queryServiceAndFeedbackCount(ShService queryShService);
	
	/**
	 * 
	* @Title: queryServiceTypeCount 
	* @Description: TODO(根据条件获取物业类型数) 
	* @param queryShService
	* @return
	* Map<String,Object>
	* @throws 
	* @author cyj
	 */
	Map<String,Object> queryServiceTypeCount(ShService queryShService);
    
    List<ShService> selectShServices(ShService service);
    
    /**
     * 
    * @Title: queryShServices 
    * @Description: 查询符合条件的物业服务列表
    * @param service
    * @return
    * List<ShService>
    * @throws 
    * @author cyj
     */
    List<ShService> queryShServices(ShService service);
    
    /**
     * 
    * @Title: queryServiceCount 
    * @Description: 查询符合条件的物业服务数目（可根据小区查询）
    * @param queryShService
    * @return
    * Long
    * @throws 
    * @author cyj
     */
    Long queryServiceCount(ShService queryShService);
}